import config from "@/config"
import http from "@/utils/request"

export default {
	addUserOrUpdate: {
		url: `${config.API_URL}/v1/user/addorupdate`,
		name: "添加或更新用户",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	},
	restartUserPassword:{
		url: `${config.API_URL}/v1/user/passwordrestart`,
		name: "重置用户密码",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	}
}


